<%@page import="service.Utils"%>
<%
	request.setCharacterEncoding("utf-8");
%>
<%
String result = (String) request.getAttribute("result");
String name = (String) request.getAttribute("name");
String type = (String) request.getAttribute("type");
String title = "Network tool : Traceroute, Ping, DNS Lookup, ...";
String description = "Free online network tools, including Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and our own Domain Dossier.";
String keywords = "traceroute,ping,dns lookup,whois,network tool";

%>
<jsp:include page="/layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
</jsp:include>
		<div class="content clear">
			<div class="content-left left">
				<h1 class="title"><%=name!=null?name:"Network tool : Traceroute, Ping, DNS Lookup, ..." %></h1>
				<hr size="2" color="#0B6CB4" class="margin-bottom"/>
				<div class="left"><img src="/images/images.jpg"/></div>
				<div class="addthis_toolbox addthis_default_style right">
					<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
					<a class="addthis_button_tweet" tw:via="findinfodomain"></a> <a
						class="addthis_button_google_plusone" g:plusone:size="medium"></a> 
						<a class="addthis_counter addthis_pill_style"></a>
				</div>
				<form action="" method="get">
					<div class="pr margin-bottom clear">
						<input type="radio" value="ping" name="type" checked="checked" class="type" <%=type!=null&&type.equals("ping")?"checked=\"checked\"":"" %>/> Ping &nbsp;
						<input type="radio" value="lookup" name="type" class="type" <%=type!=null&&type.equals("lookup")?"checked=\"checked\"":"" %>/> Lookup &nbsp;
						<input type="radio" value="trace" name="type" class="type" <%=type!=null&&type.equals("trace")?"checked=\"checked\"":"" %>/> Trace &nbsp;
						<input type="radio" value="dnsrec" name="type" class="type" <%=type!=null&&type.equals("dnsrec")?"checked=\"checked\"":"" %>/> DNS Records &nbsp;
						<input type="radio" value="httphead" name="type" class="type" <%=type!=null&&type.equals("httphead")?"checked=\"checked\"":"" %>/> HTTP Headers &nbsp;
					</div>
					<div class="search clear">
							<input type="text" value="<%=name!=null?name:"example.com" %>" name="url" onclick="javascript:this.value=''"/>
							<input type="submit" class="submit"/>
					</div>
				</form>
				<%
				if(name==null)
				{
				%>
				<p class="margin-bottom"><strong>Example : </strong><a href="/network-tool?url=google.com&type=dnsrec" class="link" rel="nofollow">google.com</a> , <a href="/network-tool?url=74.125.228.64&type=dnsrec" class="link" rel="nofollow">74.125.228.64</a></p>
				<%
				}
				%>
				<div class="pr margin-bottom clear">
					<%=result %>
				</div>
				<%
				if(name==null)
				{
				%>
				<p class="p margin-bottom clear">
					Free online network tools, including Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and our own Domain Dossier.  
				</p>
				<div class="blog-info left adv">
					<%@ include file='/adv/adv300c.jsp'%>
				</div>
				<div class="blog-info right">
					<h2><a title="Whois Search for Domain Registration Information." href="/whois">Whois Search for Domain Registration Information.</a></h2>
					<img alt="Whois" src="/images/whois.jpg">
					<p>
						WHOIS is a query and response protocol that is widely used for querying databases that store the registered users or assignees of an Internet resource, such as a domain name, an IP address block, or an autonomous system, ...
					</p>
				</div>
				<div class="blog-info left">
					<h2><a title="Ip address lookup. Find IP address exact location." href="/lookup-ip">Ip address lookup. Find IP address exact location.</a></h2>
					<img alt="Lookup ip" src="/images/ip.jpg">
					<p>
						An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication ...
					</p>
				</div>
				<div class="blog-info right">
					<h2><a title="QR Code Generator: QR Stuff Free Online." href="/qr-code">QR Code Generator: QR Stuff Free Online.</a></h2>
					<img alt="Qr code" src="/images/qrcode.jpg">
					<p>
						QR Code is the trademark for a type of matrix barcode (or two-dimensional code) first designed for the automotive industry. More recently, the system has become popular outside of the industry due to its fast readability ...
					</p>
				</div>
				<%
				}
				%>
			</div>
			<div class="content-right right">
				<%@ include file='/adv/adv300c.jsp'%><br/><br/>
				<%@ include file='/element/share.jsp'%>	
				<%@ include file='/element/tool.jsp'%>	
				
				
			</div>
			<div class="clear"></div>
		</div>
	</div>
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/qrcode.js"></script>
<%@ include file='/layout/footer.jsp'%>	